Using Content-Derived Names for Package Management in Tcl
نویسندگان
چکیده
Managing different versions of library routines has long been a problem, both for Tcl and for other languages that permit code reuse and modification (i.e., all computer languages that the authors are aware of). This problem is particularly difficult for Tcl because it allows libraries (in the form of packages) to be dynamically loaded as needed. While this feature is very convenient — users need only keep a single copy of each library to use it in many programs — it can lead to code compatibility and distribution problems. This paper presents a solution for this problem — using content-derived names (CDNs) to name Tcl packages. Using this solution, a program can simultaneously use two different versions of a single package. In addition, the Tcl interpreter can easily find instances of a missing package over the network and download them, making them available to a running application. Because content-derived names are computed using a cryptographically strong hash over the text of a package, this process is safe from spoofing and other attacks based on providing the wrong library. Thus, a user may download missing packages from any server willing to provide them without fear of virus or trojan horse attacks.
منابع مشابه
Binary Version Management for Computational Grids
Applications are no longer monolithic files, but rather a collection of dynamically linked libraries, images, fonts, etc. For such applications to function correctly, all of the required files must be available and be the correct version. Missing files preclude application execution, and incorrect versions lead to mysterious and frustrating failures. This paper describes a simple scheme to addr...
متن کاملEffect of Inbound Marketing Factors on Marketing Performance: The Case of Restaurant and Catering Industry in Rasht with an Emphasis on Restaurants with Gilaki Names
The present study explores the effect of inbound marketing factors on marketing performance. The statistical population was composed of all customers of six restaurants with Gilaki names in Rasht, which are active in cyberspace. A total of 400 individuals were selected by convenience sampling. The standard scales included visibility management, active listening, community building, wor...
متن کاملCreating a Multimedia Extension for Tcl Using the Java Media Framework
The Java Media Framework (JMF) provides a rich set of functionality for building multimedia applications. Using the JMF to build simple multimedia applications is trivial; however, using the JMF to build more complex, interactive multimedia presentations is a much more difficult task. With the recently introduced integration of Tcl and Java, the Tcl language can now be extended to provide a scr...
متن کاملMarried with Tcl
Writing and maintaining a Tcl C extension for several years is an experience which can be compared to a long lasting relationship between a man and a woman. At the beginning, there is great excitement and you enjoy a real good time. However, once the relationship settles, you will find out that being married is sometimes straining and you start to look at things from a slightly different perspe...
متن کاملExtending Traces with OAT: An Object Attribute Trace Package for Tcl/Tk
Tcl supports variable traces, which associate arbitrary scripts with variable reads, writes and unsets. We developed OAT (Object Attribute Traces), a protocol for extending traces to attributes of arbitrary Tcl “objects.” We wrote several OAT-based extensions including TkOAT, which provides traces on attributes of Tk widgets and canvas items. The OAT protocol and derived extensions bring the be...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998